package com.hrpmar.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 采购计划表(采购)
 */
public class Purplan{

  private Integer planId;     //采购序号
  private String planNum;     //采购编号
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date planDate;      //采购日期
  private String proNum;      //公司编号
  private String woJubnum;     //采购员编号
  private Integer planChstate;//审核状态
  private String planRemark;  //备注
  private Date planSubdate ;  //提交采购计划日期
  private String planViews;   //审核意见
  private Integer planRustate;  //入库状态
  private Provider provider;//供应商对象
  private Worker worker;    //人员信息

  public Integer getPlanRustate() {
    return planRustate;
  }

  public void setPlanRustate(Integer planRustate) {
    this.planRustate = planRustate;
  }

  public Date getPlanSubdate() {
    return planSubdate;
  }

  public void setPlanSubdate(Date planSubdate) {
    this.planSubdate = planSubdate;
  }

  public String getPlanViews() {
    return planViews;
  }

  public void setPlanViews(String planViews) {
    this.planViews = planViews;
  }

  public Integer getPlanId() {
    return planId;
  }

  public void setPlanId(Integer planId) {
    this.planId = planId;
  }

  public String getPlanNum() {
    return planNum;
  }

  public void setPlanNum(String planNum) {
    this.planNum = planNum;
  }

  public Date getPlanDate() {
    return planDate;
  }

  public void setPlanDate(Date planDate) {
    this.planDate = planDate;
  }

  public String getProNum() {
    return proNum;
  }

  public void setProNum(String proNum) {
    this.proNum = proNum;
  }

  public String getWoJubnum() {
    return woJubnum;
  }

  public void setWoJubnum(String woJubnum) {
    this.woJubnum = woJubnum;
  }

  public Integer getPlanChstate() {
    return planChstate;
  }

  public void setPlanChstate(Integer planChstate) {
    this.planChstate = planChstate;
  }

  public String getPlanRemark() {
    return planRemark;
  }

  public void setPlanRemark(String planRemark) {
    this.planRemark = planRemark;
  }

  public Provider getProvider() {
    return provider;
  }

  public void setProvider(Provider provider) {
    this.provider = provider;
  }

  public Worker getWorker() {
    return worker;
  }

  public void setWorker(Worker worker) {
    this.worker = worker;
  }

  @Override
  public String toString() {
    return "Purplan{" +
            "planId=" + planId +
            ", planNum='" + planNum + '\'' +
            ", planDate=" + planDate +
            ", proNum='" + proNum + '\'' +
            ", woJubnum='" + woJubnum + '\'' +
            ", planChstate=" + planChstate +
            ", planRemark='" + planRemark + '\'' +
            ", planSubdate=" + planSubdate +
            ", planViews='" + planViews + '\'' +
            ", provider=" + provider +
            ", worker=" + worker +
            '}';
  }
}
